package com.example.demo.module;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.util.List;

@TableName("class_info")
@Data
public class ClassInfo extends Model<ClassInfo> {

    @TableId
    private String id;

    @TableField(exist = false)
    private List<User> users;
}
